<?php


class InventoryItemInfoPage extends Page
{
    public function Process()
    {
        $inventoryId = Request::Get("id", '');
        if (!empty($inventoryId))
        {
            $inventoryInfo = InventoryItemManager::SelectById($inventoryId);
            $clientsInRent = InventoryClientsManager::SelectByInventoryId($inventoryId);
            $this->SetArrVar("INVENTORY", $inventoryInfo);
            $this->SetArrVar("CLIENTS", $clientsInRent);
        }

    }

}